package com.wisevar.thirdplatform.gateway;


import com.aygframework.support.starter.BaseApplicationStarter;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;


@SpringBootApplication
@ComponentScan(value = {"com.wisevar.thirdplatform.gateway","com.aygframework.support","com.aygframework.log"})
@ServletComponentScan({ "com.aygframework.support"})
@EnableDiscoveryClient
public class Application extends BaseApplicationStarter {

    public static void main(String[] args) {
        long starTime = before();
        new SpringApplicationBuilder(Application.class).run(args);
        after(starTime);
    }




}
